package com.briup.appointment.controller;

import com.briup.appointment.common.ApiResponse;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;

@RestController
public class HealthController {

    @GetMapping("/ping")
    public ApiResponse<Map<String, Object>> ping() {
        Map<String, Object> map = new HashMap<>();
        map.put("status", "ok");
        return ApiResponse.ok(map);
    }
}


